'use strict';

const baseController =require('./baseController.js');

class goodsCateController extends baseController {
    async list() {
        let {service, request, query} = this.ctx;

        let newVar = await service.goodsCateService.list();
        this.success({data:{list:newVar}})
    }
}

module.exports = goodsCateController;

//router.get('/admin/goodsCateController/index',controller.admin.goodsCateController.index);
